package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.PraiseLog;

/**
 * <p>
 * 买家秀点赞记录表 服务类
 * </p>
 *
 * @author Small
 * @since 2020-04-16
 */
public interface IPraiseLogService extends IService<PraiseLog> {

    /**
     * 判断是否点赞
     * return true 已点赞 false 未点赞
     */
    Boolean checkPraise(Long buyerShowId,Long memberId);

    /**
     * 添加点赞记录
     */
    void addPraiseLog(Long buyerShowId,Long memberId);

    /**
     * 删除点赞记录
     */
    void delPraiseLog(Long buyerShowId,Long memberId);
}
